<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GestionLinqLibData.eleve>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Create</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Create</h2>
    <%= Html.ValidationSummary() %>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <legend>Fields</legend>
        <p>
            <label for="nom_eleve">
                nom_eleve:</label>
            <%= Html.TextBox("nom_eleve") %>
            <%= Html.ValidationMessage("nom_eleve", "*") %>
        </p>
        <p>
            <label for="prenom_eleve">
                prenom_eleve:</label>
            <%= Html.TextBox("prenom_eleve") %>
            <%= Html.ValidationMessage("prenom_eleve", "*") %>
        </p>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>
</asp:Content>
